private void releaseStreamChannel(ChannelHandlerContext ctx) {
    ChannelPool pool = ctx.channel().attr(Http2BlockingChannel.CHANNEL_POOL_ATTRIBUTE_KEY).get();
    if (pool != null) {
      pool.release(ctx.channel());
    } else {
      // We don't have a pool in the attribute, just release it by using pool in parent channel.
      ctx.channel()
          .parent()
          .attr(Http2MultiplexedChannelPool.HTTP2_MULTIPLEXED_CHANNEL_POOL)
          .get()
          .release(ctx.channel());
    }
  }
Netty handler for {@link Http2BlockingChannel} to handle {@link FullHttpResponse}.
ambry-network/src/main/java/com/github/ambry/network/http2/Http2BlockingChannelResponseHandler.java