Catch ECONNRESET in stream.js