Handle socket errors in IMAP mail segment