check if DAGScheduler is shutdown in SparkContext