title: Issue with netcat timeout
body: <p>Why does the following netcat command not time out if the attempt to connect takes longer than 3 seconds (ie: when the port isn't open)? I assumed that the -w flag would be what I needed. OS is OSX 10.9.</p>
  
  <p><code>nc -v -z -w 3 127.0.0.1 5050</code></p>
  
  <p>Assuming that worked, I planned to implement like this (unsure if this will work, total bash noob)</p>
  
  <p><code>nc -v -z -w 3 127.0.0.1 5050 | /dev/null &amp;&amp; echo "Online" || echo "Offline"</code></p>