Remove console output when exiting with signal