def METHOD_NAME(self, webpubsubclient_connection_string):
    client = self.create_client(connection_string=webpubsubclient_connection_string)
    with client:
        client._stop()
    assert not client._is_connected()