Hardening signal exception handler.