Revert "IMAP: defer bailout in case of EOF"

This reverts commit afb1d1949e7bb9849e0fe33e4d3ae971711337bd.