private void close() {
    logger.trace("Closing channel {}", ctx.channel());
    ctx.close();
    channelOpen.set(false);
  }
Closes the channel and marks it as unusable.
ambry-rest/src/main/java/com/github/ambry/rest/NettyMessageProcessor.java