add exception for KeyboardInterrupt to allow for manual stop without