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