handle absence of a redis server better