async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode