Commit before restart