[BUG #8772] guard against the listener storage being manipulated we iterate over it