fix(connection): check for a destroyed socket
Fixed connection bug in Node 11
Merge pull request #8 from virgo-agent-toolkit/npm-test-fix-node-11

Fixed connection bug in Node 11