private void closeRequest(boolean shouldCloseRequest) {
    if (request != null && request.isOpen() && shouldCloseRequest) {
      request.close();
      evaluatePerformanceAndUpdateMetrics();
    }
  }
Closes the request associated with this NettyResponseChannel.
ambry-rest/src/main/java/com/github/ambry/rest/NettyResponseChannel.java