There could be some mechanism that will prevent socket from closing untill all data was sent
There could be some mechanism that will prevent socket from closing untill all data was sent