Add tests around Sequential Jobs stopping.
Improve stopping logic for structural jobs.