or...... if this happens on a regular basis, and it sounds like it does because your panel battery is dead, you may want to remove the battery from the external bell-box if there is one.
Taking it one step further, you could even remove the battery from your alarm panel if avoiding annoying...