Sample exit process when completed