Correctly unsubscribe when algo depends on other algos