code: public synchronized void shutdownGracefully() {
  		running = false;
  		Iterator<LongAction<?>> iterator = actions.values().iterator();
  		while (iterator.hasNext()) {
  			LongAction<?> longAction = iterator.next();
  			longAction.waitForCompletion();
  		}
  	}
docs: /*
  Untested method