add  thread local clear