Ensure state change (unresolved -> resolved) is atomic and only happens once