Don't prompt for captchas when the input stream has ended. Fixes #215.