code: public static <S> void close(S dynamicProxy) {
          // Use closeQuietly since ServicePool.close() doesn't throw IOException.
          try {
              Closeables.close(getPool(dynamicProxy), true);
          } catch (IOException e) {
              throw new AssertionError();  // close swallows IOExceptions
          }
      }
docs: Closes the service pool associated with the specified dynamic service proxy.
  @param dynamicProxy A service pool dynamic proxy created by {@link ServicePoolBuilder#buildProxy}.
  @param <S> The service interface type.