async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def exitMode(self, mode):
        if mode in self.modeList:
            self.modeList.remove(mode)