save writes before quit redis