Shutdown on TRAP signal