Do only sync to harddisk if command was stop, not restart