async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def close(self):
        time.sleep(0.1)
        self.sock.close()
        return 0