Fixed race in Node.GetFutureForMessages