code: def exit_by_signal():
      logger.info("Exiting, sending SIGTERM to current process")
  
      os.kill(os.getpid(), signal.SIGTERM)
      time.sleep(5)
  
      logger.warning(
          "SIGTERM sent to current process but it's still running. "
          "Trying os._exit()"
      )
      os._exit(1)
  
file_path: fiber/fiber/spawn.py
imports: import os
  import logging
  from multiprocessing import reduction
  import multiprocessing
  import threading
  import traceback
  import select
  import signal
  import time
  from fiber.init import init_fiber
label_desc: Use image node_id 1 for calling a global function with example usage: exit_by_signal() without return types