Add exit command to interactive MPI example