force save data before shutdown

fix bug some data (ex PDO activities) not save when use ```die()``` or ```exit()``` function to force end script