public void close() {
    if (scheduler != null) {
      shutDownExecutorService(scheduler, 5, TimeUnit.SECONDS);
    }
  }
Close {@link NonBlockingRouterMetrics} by shutting down scheduler (if present) in this class.
ambry-router/src/main/java/com/github/ambry/router/NonBlockingRouterMetrics.java