Committing before cleaning up
Prevent deadlocks if we have a crash in MPI code