Will this only work if addJars is called from the thread that created the SparkContext?