Add support for specifying maximum number of steps to run to MPI-based manager.