Pause Alarm Notifcation Pipeline while shelved

I am attempting to “pause” an alarm notification pipeline while the alarm is shelved, then resume. This is what I tried:

Once the alarm is shelved it seems to drop out of the pipeline. The only dropout condition is “Acknowledgement”. What should I try to achieve this?

I needed to add a small (5 sec) delay to the expression block loop. The infinite loop was breaking things.