code: def disable(close_not_finished=False):
      global INSTANCE
  
      if INSTANCE is None:
          return
  
      import_tracer = INSTANCE.import_tracer
      converter = INSTANCE.converter
      filepath = INSTANCE.filepath
  
      converter.dump(
          import_tracer.get_events(close_not_finished), filepath
      )
  
      INSTANCE = None
  
imports: import collections
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: disable(close_not_finished) without return types