[WO-223] handle imap errors and timeouts specific before and after login screen to avoid jumping bug