Implement IMAP idle in Ruby.