Problem with Gmail IMAP closed connection