Client APIDisconnectingVersion: 2.2.xOn this pageDisconnecting Asynchronous await client.disconnectAsync(); Synchronous client.disconnect();