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