public void CloseSession() { if (connectHandler != null && connectInfo != null) { connectHandler.CloseConnection(connectInfo, ""); } }