Merge branch '3344-threadsanitizer-data-race-in-isc__nm_tcpdns_send-v9_18' into 'v9_18'

Move setting the sock->write_timeout to the async_*send [v9.18]

See merge request !6341
85 jobs for v9_18 in 169 minutes and 54 seconds (queued for 4 seconds)
Name Stage Failure
failed
system:clang:freebsd13:amd64 System
Runtime platform                                    arch=amd64 os=freebsd pid=15142 revision=5316d4ac version=14.6.0
untracked: found 1857 files

Uploading artifacts as "archive" to coordinator... ok
id=2527952 responseStatus=201 Created token=wtW2sYo8
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=15145 revision=5316d4ac version=14.6.0
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=2527952 responseStatus=201 Created token=wtW2sYo8
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
system:clang:openbsd:amd64 System
Runtime platform                                    arch=amd64 os=openbsd pid=71236 revision=9ad2ddee version=12.4.0~beta.1928.g9ad2ddee
untracked: found 1707 files

Uploading artifacts to coordinator... ok
id=2527953 responseStatus=201 Created token=6pf2EBZ2
Uploading artifacts...
Runtime platform
arch=amd64 os=openbsd pid=9479 revision=9ad2ddee version=12.4.0~beta.1928.g9ad2ddee
junit.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=2527953 responseStatus=201 Created token=6pf2EBZ2
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
system:gcc:alpine3.15:amd64 System
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1518 files

Uploading artifacts as "archive" to coordinator... 201 Created
id=2527933 responseStatus=201 Created token=KzLqSfHk
Uploading artifacts...
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... 201 Created
id=2527933 responseStatus=201 Created token=KzLqSfHk
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1