store pgid instead of pid and kill entire group