Replace potentially unlimited loops with QTRY_VERIFY


In tst_qhttpservermultithreaded replace potentially unlimited loops
with QTRY_VERIFY and QTRY_VERIFY_WITH_TIMEOUT. This will prevent
tests from hanging. Some of these test takes very long time, especially
in CI, and these are given a particularly long timeout.

Task-number: QTBUG-138410
Pick-to: 6.10 6.8
Change-Id: Ib43ec686fdfc2badfed657c9d09b14813c76906b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
commitda9272c44f422b575a37c288ae1a14cc886b1b49
parentb8ddc381e3e35b8ccfa74545325bb153f5ab7ff4
authorØystein Heskestad <oystein.heskestad@qt.io>
committerØystein Heskestad <oystein.heskestad@qt.io>
commit timeFri, 3 Oct 2025 18:18:27 +0200