code: def kill(proc_pid):
      process = psutil.Process(proc_pid)
      for proc in process.children(recursive=True):
          proc.kill()
      process.kill()
  
file_path: dash/tests/integration/long_callback/utils.py
imports: import os
  import shutil
  import subprocess
  import tempfile
  import time
  from contextlib import contextmanager
  import psutil
  import redis
  from dash.long_callback import DiskcacheManager
label_desc: Use image node_id 2 for calling a global function with example usage: kill(proc_pid) without return types