A property of the UUID is that it's unique across multiple runs of the app.
This implementation doesn't guarantee it.
Which issue were you trying to fix?
Can't we wait for uuid to update instead (or duplicate uuid)?