MPI Finalize should be the very last instruction executed before the final return
Merge pull request #277 from kostrzewa/MPI_Finalize

Make MPI_Finalize the last instruction executed