code: def _terminate(process):
      try:
          process.terminate()
      except psutil.NoSuchProcess:
          pass
  
imports: import os
  import signal
  from neptune.envs import NEPTUNE_SUBPROCESS_KILL_TIMEOUT
label_desc: Use image node_id 2 for calling a global function with example usage: _terminate(process) without return types