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
fix(fs_call): memory leak
Merge pull request #511 from luvit/fixes/fs_call_memory_leak

fix(fs_call): memory leak