how to kill a process's child processes in python