Use the close method of the CIMClient class to close a client connection and free the server resources used by the session.
This example closes a client connection. The instance variable cc represents the client connection.
... cc.close(); ...