This is needed because we reuse connections, which breaks unless responses are entirely read
(Not sure how to reproduce this with current master, but this fix is needed to refactor call_rpc out of the test for #19117)
This is needed because we reuse connections, which breaks unless responses are entirely read