Stop job when mappers or reducers exit with errors

We should stop when mappers/reducers exit with errors (due to exceptions, OOM, etc.)