@Override
  public void close() {
    queue.forEach(NetworkRequest::release);
    queue.clear();
  }
@param timeout for the requests waiting in the incoming request queue.
@param time system {@link Time}
@param capacity capacity of the queue holding incoming requests.
ambry-network/src/main/java/com/github/ambry/network/FifoNetworkRequestQueue.java