Is this section needed if the cancel handler is going to be updated to deal with the spawned tasks?