Restore signal handlers in the scheduler child

Otherwise it will try to run the parent sighandler when the parent is trying to kill the scheduler child.