allows for fall back if redis is not available.