If we want to actually flush the buffer, then we need to send all the data in the buffer, not just the first amount that made it through