Reset SIGCHLD handler to default if we need to wait. Reset SIGPIPE