There are two things you can do to prevent this.
One is an Ultrasonic repellent with flashing lights for under the hood. It will beep after around two months when the 3 - AA batteries get low. Know that so you will not be like me wondering where the f*K that beeping is coming from while...