Fixed Ctrl+C and Ctrl+Z signals