code: @Override
      public void shutdownModule() throws ModuleShutdownException {
          if (_ri != null) {
              try {
                  _ri.close();
              } catch (TrippiException e) {
                  throw new ModuleShutdownException("Error closing RI",
                                                    getRole(),
                                                    e);
              }
          }
      }
docs: Shutdown the RI module by closing the wrapped ResourceIndex.
  
  @throws ModuleShutdownException
  if any error occurs while closing.