code: @Invalidate
      public void stop() {
          for (Map.Entry<ServiceRegistration, ExecutorService> entry : instances.entrySet()) {
              entry.getKey().unregister();
              entry.getValue().shutdownNow();
          }
          instances.clear();
      }
docs: Shutdown all created executors.