writing retries to enqueue the bytes until there is room in the buffer again so no bytes are dropped while sending
removed comments