Restore signal handlers in the scheduler child, otherwise it will try to run the parent sighandler