Fixed issue with Redis connection