Added automatic snapshot thinning when SHUTDOWN_AFTER_BACKUP is enabled.