Resolve the race condition.