My suspicion is that your crawler may be overwhelming the site you are trying to crawl, hence the ECONNRESET. I had a similar experience writing a node.js crawler myself. I had to self-throttle by sending my requests at timed intervals, to give the server some breathing space.