title: Delay between request and response in netty application
body: <p>I have got a handler which extends <code>SimpleChannelInboundHandler&lt;HttpRequest&gt;</code>. It is needed to make a delay before sending a response for a specific request and I use for this the next code in the method <code>channelRead0(ChannelHandlerContext ctx, HttpRequest msg)</code>:</p>
  
  <pre><code>ctx.executor().schedule(() -&gt; ctx.write(response), 3, TimeUnit.SECONDS);
  </code></pre>
  
  <p>but it doesn't work. What am I doing wrong and how can I solve this problem?</p>