just wanted to note -- is this the only place to cleanup the thread local?