if the socket was destroyed then return
Merge pull request #528 from luvit/fixes/net_timeout

if the socket was destroyed then return