Change kill signal so grandchildren processes end.

This fixes the problem of the lingering process, but is a bit hacky. Thoughts?