code: public synchronized void close() throws TTIOException {
          try {
              mClosed = true;
              mDatabase.close();
              mEnv.removeDatabase(null, NAME + mSelected_db);
              mEnv.close();
              IOUtils.recursiveDelete(mLocation);
              mLocation.mkdir();
  
          } catch (final DatabaseException exc) {
              throw new TTIOException(exc);
          }
      }
docs: {@inheritDoc}