def loop(self):
        while len(asyncore.socket_map):
            asyncore.loop(timeout=0.5, use_poll=True)
Instead of calling asyncore.loop directly, wrap it with a small
dataset/ETHPy150Open girder/girder/tests/mock_smtp.py/MockSmtpReceiver.loop