Preserve remote resource IDs across bounded streamed-body failures
General lesson When an API allocates a remote resource in response headers or JSON before returning a streamed body, cleanup ownership begins as soon as the remote ID is known. Bound body consumption independently of transport abort, keep that ID on body timeout/failure, and can…