Modified a bit the way the RedisTransaction work