Clean the domain tls var on all code paths in thread_cleanup ().