Throw an exception if redis has not been started.