Fix multithread in DefaultNodeContext