Fix interleaving of Fortran STOP messages