v1.3 Fixed handling of running task deletion

Signed-off-by: fox