[RCD] catch imap connect failure