Enclosed shutdownCallback in SparkDeploySchedulerBackend by synchronized block