Catch keyboardinterrupts to prevent stacktraces

When pressing ^c a few times (which can be needed to kill really stuck scripts) you see the stacktrace at times.

This small fix prevents showing a stacktrace (and error status code) in these cases. There might be a better way to handle the `sys.exit()` but since this has to be fast I would rather not depend on anything else.