Don't call killall with the -g argument.

It kills the entire group of processes
https://bugs.gentoo.org/show_bug.cgi?id=463944

Thanks: Murray Campbell