Minor cleanup with raising exception

Using "raise" will suffice as it raises last caught exception, in this case KeyboardInterrupt.