async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def forceCloseCliConnectionTo(self):
        self.modeList = None
        if self._connection:
            self._debugLog("Closing connection.")
            self._connection.close()
        self._connection = None