tls: fix race between async notify and socket close (CVE-2024-26583) | HOL Guard CVE