exit program when Ctrl+C interrupt happened