code: def _maybe_kill_ipengine_processes(profile):
      "Try to kill the ipengine processes through read the pid file."
      "It only works for local machine case."
      engine_pids = _get_ipengine_pid_from_file(profile)
      if engine_pids is None:
          return
      for _ in range(2):  # Kill two times
          for _, pid in engine_pids.items():
              try:
                  os.kill(pid, signal.SIGINT)
              except:
                  pass
  
      _delete_ipengine_config(profile)
      _delete_ipengine_pid(profile)
  
imports: import argparse
  import json
  import os
  import multiprocessing
  import signal
  import subprocess
  import time
  from typing import Dict, List
  import ipyparallel
  import bluefog
  from bluefog.run import env_util, network_util, horovod_driver
label_desc: Use image node_id 13 for calling a global function with example usage: _maybe_kill_ipengine_processes(profile) without return types