resume the stream as soon as you retrieve the content-length, otherwise no more than maxSockets can complete