Restores the original signal handlers.
SignalErrnoException if resetting up the signal fails
See Implementation
Restores the original signal handlers.