Stop getting jobs when some job failed.