code: protected void remove(I identifier) {
          LatencyStats removed = latencyMetrics.remove(identifier);
          if (removed != null) {
              try {
                  removed.stop();
              } catch (Exception ex) {
                  LOGGER.warn("Caught exception while removing LatencyStats, moving on.", ex);
              }
          }
      }
docs: Helper method to remove an item out of the stored metrics.