use SparkSQLEnv.stop() in ShutdownHook