trying to make client a bit more resilient to broken pipes
getting ready to send chunks to other peers