Added a way to arbitrarily attach callbacks to already running tasks