sequenceditor: ensure that tasks are stopped in all situations