public void close() throws IOException {
    // have to use shutdown now to break any latch waiting
    pool.shutdownNow();
    rpcs.close();
  }
Shutdown the thread pools and release rpc resources
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureCoordinator.java