public void close() {
            for (MetricName metricName : topLevelMetricNames)
                metrics.removeMetric(metricName);
            for (Sensor sensor : sensors)
                metrics.removeSensor(sensor.name());
            connectionsByCipher.close();
            connectionsByClient.close();
        }
This method generates `time-total` metrics but has a couple of deficiencies: no `-ns` suffix and no dash between basename
and `time-total` suffix.
@deprecated use {{@link #createIOThreadRatioMeter(Metrics, String, Map, String, String)}} for new metrics instead
clients/src/main/java/org/apache/kafka/common/network/Selector.java