Fixed Thread::current_thread()