def terminate_ssh_clients():
  global _ssh_clients
  for p in _ssh_clients:
    try:
      os.kill(p.pid, SIGTERM)
      p.wait()
    except __HOLE__:
      pass
  _ssh_clients = []
dataset/ETHPy150Open esrlabs/git-repo/git_command.py/terminate_ssh_clients