remove thread local storages