code: def kill_thread(thread_obj, wait=False):
      if not _lowlevel_async_raise(thread_obj, SystemExit()):
          return False
  
      while wait and thread_obj.is_alive():
          time.sleep(0.1)
      return True
  
file_path: clearml/clearml/utilities/lowlevel/threads.py
imports: import ctypes
  import threading
  import six
  import sys
  import time
label_desc: Use image node_id 3 for calling a global function with example usage: kill_thread(thread_obj, wait) and returns: True, False