triggering shutdown by setting a redis flag