procs = proc.children(recursive=True)
procs.append(proc)
for proc in procs:
    proc.terminate()
gone, alive = psutil.wait_procs(procs, timeout=1)
for p in alive:
    p.kill()
Kill a chain of sub processes on KeyboardInterrupt