Fix error resulted from changing the name of global_thread_manager