To disconnect from a server, invoke the IpClientSsl#disconnect method. You should always disconnect from the server when ending your session.
Example
// disconnect
ssl.disconnect();