Fix worker thread resource leak in SIP TCP/TLS.