Use uuid.v4() and catch redis errors