If the prompt is interrupted with `CTRL-C` for example, it is not handled gracefully throwing an exception.