Explicitly kill the child process on exit if it hasn't completed

I have encountered an issue with gulp where a child process continues running
even after killing (Ctrl-C) the parent process running gulp. This is fixed by
explicitly calling `child.kill()` when the parent exits.