tls_client: fix error message logging

15 jobs for tls-errmsg-fix
in 9 minutes and 21 seconds and was queued for 9 seconds