Finally was able to reproduce in this test app.
The trigger is opening network connections and leaving them open between
alarms (not sure if leaving open is relevant).