builds: removes future jobs when one of the jobs fail

improves throughput by purging future jobs when the first job fails.