Making sure that previous waveform processing stops when a new dendrogram node is selected.