code: public synchronized void shutdownDB() throws DatabaseException {
  
  		if (db != null) {
  			db.close();
  			db = null;
  		}
  
  		if (env != null) {
  			env.close();
  			env = null;
  		}
  	}
docs: shut down the BDB.
  
  @throws DatabaseException