code: @Override
  	public ChemComp getChemComp(String recordName) {
  
  		while ( loading.get()) {
  
  			// another thread is still initializing the definitions
  			try {
  				// wait half a second
  
  				Thread.sleep(500);
  			} catch (InterruptedException e) {
  				logger.error("Interrepted thread while waiting: "+e.getMessage());
  				//e.printStackTrace();
  			}
  		}
  
  
  
  		return dict.getChemComp(recordName);
  	}
docs: {@inheritDoc}