code: def _exit():
      global _exit_mode
      _exit_mode = True
  
imports: import atexit
  from ctypes import sizeof
  import multiprocessing
  import threading
  import socket
  import time
  from cupyx.distributed import _klv_utils
  from cupyx.distributed import _store_actions
label_desc: Use image node_id 1 for calling a global function with example usage: _exit() without return types