Reorder the response reading in packet.pl to not fill TCP buffers

(cherry picked from commit ff133eba)
79 jobs for !4069 with 2037-deferred-system-test-tcp-buffers-filling-fix-v9_11 in 48 minutes and 59 seconds (queued for 10 seconds)
latest merge request