docs: public void shutdownInvocations() {
          logger.finest("Shutting down invocations");
  
          invocationRegistry.shutdown();
          invocationMonitor.shutdown();
          inboundResponseHandlerSupplier.shutdown();
  
          try {
              invocationMonitor.awaitTermination(TERMINATION_TIMEOUT_MILLIS);
          } catch (InterruptedException e) {
              // TODO: we need a better mechanism for dealing with interruption and waiting for termination
              Thread.currentThread().interrupt();
          }
      }