code: def kill_scheduler() -> None:
      """Terminate the scheduler if started.
  
      Another call to `scheduler` will create a new scheduler.
      """
      global __scheduler
  
      if __scheduler:
          __scheduler.shutdown()
          __scheduler = None
  
imports: import asyncio
  import logging
  from apscheduler.schedulers.asyncio import AsyncIOScheduler
  from pytz import UnknownTimeZoneError, utc
  import rasa.shared.utils.io
label_desc: Use image node_id 1 for calling a global function with example usage: kill_scheduler() without return types