* Fix disposal of running tasks Fixes #15328 --------- Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>