code: public void addDisconnectInterceptor(DisconnectInterceptor<?> interceptor) {
  		Class<?> serviceApiType = GenericTypeResolver.resolveTypeArgument(interceptor.getClass(), DisconnectInterceptor.class);
  		disconnectInterceptors.add(serviceApiType, interceptor);
  	}
docs: Adds a DisconnectInterceptor to receive callbacks during the disconnection process.
  Useful for programmatic configuration.
  @param interceptor the connect interceptor to add