clear static variables in SparkBase.stop