Preemptive commit in case anything goes wrong.