close

open override fun close()(source)

Closes the client and releases resources.

This method should be called when the client is no longer needed to ensure proper cleanup of network connections and other resources. After closing, the client instance should not be used for any further operations.