Use Socket.connect instead of net.createConnection and always disconnect the socket on timeout before executing the callback.
Use Socket.connect instead of net.createConnection and always disconnect the socket on timeout before executing the callback.

bmcorum/node-ftp,icetee/node-ftp,HalfdanJ/node-ftp,mscdex/node-ftp,vavere/node-ftp,rudiculous/node-ftp