Catch a redis ConnectionError when checking queue length