signal handler for sigchld, eliminating zombie subprocess