This may be something you didn't intend to fix though ! If the line is big and split into two writes, your fix is spot on here. I guess my issue which #164 fixes was something that was buffering the writes, so it would end up with huge delay before the full line was written! Sorry if I assumed wrongly.