Save unsaved chunks on server shutdown