Messy hack to kill busy child processes on exit.