Close extra fds in child, removed unnecessary (and not working) child reaping, added SIGCHLD handler instead.