tray plugin: limit icon flashing to a certain number

After that period keep a static alert icon.
Flashing forever would just waste some cpu cycles without necessity.