code: public void free()
      {
          super.free(); // Do any inherited
          try   {
              if (m_remoteDatabase != null)
              {
                  synchronized (this.getSyncObject(m_remoteDatabase))
                  {
                      m_remoteDatabase.freeRemoteSession();
                      m_remoteDatabase = null;
                  }
              }
          } catch (RemoteException ex)    {
              Utility.getLogger().warning("Remote free error: " + ex.getMessage());
              ex.printStackTrace();
          }
      }
docs: Free the objects.