Disallow inserting child jobs if parent is in a terminal state