Support redis-process's shutdown