HttpClient's GetAwaiter().GetResult() on ReadAsStreamAsync returns once headers arrive; a connection that then closes early leaves CopyTo finishing normally with a short file instead of throwing. Compare the written length against the advertised Content-Length and treat a mismatch as a transient failure. FakeStorage.ps1 can now simulate this (keys containing '/short/').