keep track of delegated streams, thanks @vqvu