Fix retry logic for failed part downloads, fixes EUCA-8996