Added a print statement on KeyboardInterrupt