Correct exception handling
Handle CTRL+C