Do not crash on KeyboardInterrupt (Fixes #6)