Allow to cancel exiting the program