test for closed connection during partial download