@Override
    public void channelInactive(ChannelHandlerContext ctx) {
      ctx.close();
    }
Custom handler that receives the response.
ambry-test-utils/src/main/java/com/github/ambry/rest/NettyClient.java