fix(socket): destroy socket handle on _any_ error
Merge pull request #508 from luvit/fixes/socket_error

fix(socket): destroy socket handle on _any_ error