code: def shutdown_tasks(self):
      self._task_shutdown.set()
  
imports: import threading
  from horovod.runner.common.service import driver_service
  from horovod.runner.common.util import network
label_desc: Use image node_id 10 for calling the SparkDriverService obj's underlying member method code with example usage: obj.shutdown_tasks() without return types