retry on content-length mismatch