'"(typ, [data]) = idle(timeout=None)
Put server into IDLE mode until server notifies some change,
or \'timeout\' (secs) occurs (default: 29 minutes),
or another IMAP4 command is scheduled.'

def idle(self, timeout=None, **kw):

    name = 'IDLE'
    self.literal = _IdleCont(self, timeout).process
    try:
        return self._simple_command(name, **kw)
    finally:
        self._release_state_change()
