Ensured fresh context is acquired in ThreadManager.