title: Timeout for SocketChannel doesn't work
body: <p>I want to use a <code>SocketChannel</code> and to have a timeout for its read/write methods. I've tried to set a timeout for the Socket that owns my <code>SocketChannel</code> like this: </p>
  
  <pre><code>channel.socket().setSoTimeout(TIMEOUT);
  </code></pre>
  
  <p>but that doesn't work. Is there any other solution? </p>