fix: add missing MPI finalize