reinit imap connection each time we get an error