code: public void close() throws IllegalStateException, RepositoryException
     {
        Statistics s = ALL_STATISTICS.get(CLOSE_DESCR);
        try
        {
           s.begin();
           wcs.close();
        }
        finally
        {
           s.end();
        }
     }
docs: {@inheritDoc}