retry on TruncatedBodyError with sleep