Fixed no timeout issue for Redis.