Wait for gracious shutdown


Don't immediately close the underlying TCP socket after sending our
close notification without giving the peer some time to send their
own close notification back.

Pick-to: 6.10 6.9 6.8
Fixes: QTBUG-81084
Change-Id: Ia824e67722ae98dff3b12074c1c2b96abd9721c6
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
commit1478c1dec23c3f16636ce90ae27169a3f14371a2
parent3d7635d1adc82978dc0033cdc8b1b77cc447d836
authorMårten Nordheim <marten.nordheim@qt.io>
committerMårten Nordheim <marten.nordheim@qt.io>
commit timeThu, 31 Jul 2025 15:39:40 +0200