Harden "chunked" handling in ANCM (#67512)