Fix bug with RedisConnect