Updated the ImapIdle sample