force save data before shutdown