Handle Race condition with Redis sets