Catch disconnect errors from the mail server.