code: @Override
      public void destroy() throws ResourceException {
          LOGGER.debug("Shutting down connection to repo '{0}'", mcf.getRepositoryURL());
          this.session.logout();
          this.handles.clear();
      }
docs: Destroys the physical connection to the underlying resource manager.
  
  @throws ResourceException generic exception if operation fails