Only flush redis of redis-cli exists