fix another bug with RTR to remove things correctly from running tasks