Kill the entire subtree when killing child process

On Windows, killing a process will by default not kill that process's
child processes as well. This can be a problem when we're trying to stop
an assignment.