Reset alarms to prevent them to keep going forever.