Make the stream unsubscribe to the correct notification upon closure.