Stop if redis_opts are invalid.