code: def uninit():
      global __use_threads
      cls = (
          InProcessCommunicator
          if __use_threads
          else DistributedCommunicator
      )
      cls.shutdown()
      __use_threads = False
  
imports: from .communicator import Communicator
  from .distributed_communicator import DistributedCommunicator
  from .in_process_communicator import InProcessCommunicator
label_desc: Use image node_id 3 for calling a global function with example usage: uninit() without return types