if we get a disconnection and we get broken pipe we should treat it as an error. Otherwise if we pop up that it is not an error and we return 0 written bytes we might endup with a retry from the caller and endup with a write / read loop.
if we get a disconnection and we get broken pipe we should treat it as an error. Otherwise if we pop up that it is not an error and we return 0 written bytes we might endup with a retry from the caller and endup with a write / read loop.