cache that you found some unique value and make sure you don't tell anyone else in this process that it is unique while you save it.