Atomic redis.set when acquiring a lock