code: protected synchronized void handleCompleted() {
          latch.countDown();
          for (final ShutdownListener listener : listeners) {
              listener.handleCompleted();
          }
          listeners.clear();
      }
docs: Notify all shutdown listeners that the shutdown completed.