[WO-567] use multithreaded tls