readded redisConnect and redisClose