code: protected void readTimedOut(ChannelHandlerContext ctx) throws Exception {
          if (!closed) {
              ctx.fireExceptionCaught(ReadTimeoutException.INSTANCE);
              ctx.close();
              closed = true;
          }
      }
docs: Is called when a read timeout was detected.