Improve IMAP IDLE mode