When we see a difference between the payload we sent and what we
received we dump both but we were not prepared for the case when
the received payload is less that we sent. In this case we were trying
to dump more than needed.
Funny enough, 23 years ago I already fixed a similar issue here but
didn't pay attention to this small dumping loop.
MFC after: 1 month
Found with: Claude Code Sonnet 5