Adding reproducible case of suspected bug where program hangs.
Made error case simpler.
Made error case simpler.
Made error case simpler.