This commit ensures that the multipartRead flag is read in a deferred block, and is not evaluated too early. Closes gh-31567