code: public void close()
      {
          super.close();  // Do any inherited
          try   {
              if (m_remoteDatabase != null)
              {
                  synchronized (this.getSyncObject(m_remoteDatabase))
                  {   // In case this is called from another task
                      m_remoteDatabase.close();
                  }
              }
          } catch (RemoteException ex)    {
              Utility.getLogger().warning("Remote close error: " + ex.getMessage());
              ex.printStackTrace();
          }
      }
docs: Close the remote databases.