Commit on teardown option. Partition util function.