There was a lot of discussion about this pre-fork:
nodejs/node-v0.x-archive#7631
nodejs/node-v0.x-archive#7348
Note that while waiting for an upstreaming fix, @TomFrost implemented a workaround that is published on npmjs.org:
https://www.npmjs.com/package/flushwritable
Perhaps it will be helpful in considering the issue.