remove references to child processes from processes.children when the process exits
remove references to child process when the process is killed in processes.killAll()