I think the logic is backward on this.  I think if the `id` is not `undefined` then we want to set the property `stopExecution`, else stop all execution.