Isolate signal handlers