NXP-11941: close all open tasks when the workflow stops