tls: avoid possible async handler duplication