Changed sigchld_handler to remove kill functions