def close(self):
        try:
            typ, dat = self._simple_command('CLOSE')
        finally:
            self.state = 'AUTH'
        return typ, dat
Callback: invoked when the stream closes.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/imaplib.py/IMAP4.close--crossover with--dataset/ETHPy150Open erkyrath/tworld/lib/two/webconn.py/WebConnIOStream.twclose