Fixed command runner to kill child processes on exit.