add running check for graceful shutdown
add running check for graceful shutdown

ryanlecompte/redis_failover,SPBTV/spbtv_redis_failover,ShrCheng/redis_failover,jongillies/redis_failover,flowdock/redis_failover