NodeJS Http Requests stuck at five

Whilst working on our monitoring system we encountered some rather odd behaviour sending data into Elasticsearch over HTTP. We would get 5 responses, and then it would abruptly stop.
We were calling request.end(), so as far as we knew we were ending the connection, after some googling and a rather helpful stackoverflow post we discovered the issue was we were not consuming the data. Once we added in:

response.on('data', function() {});

All the data started flowing in. The NodeJS API guide for the Http Request class seems to be notably missing this rather core piece of information, so if you hit upon a limit of five requests, or massive memory leaks, then make sure you’re calling on .on(‘data’... even if you don’t want to do anything with it!

Update:

After searching through the node documentation, it does actual reference the need to read the data, it’s just extremely easy to miss. “Also, until the data is read it will consume memory that can eventually lead to a 'process out of memory' error.”