finish checkpoint