clear alarm when tab removed or error thrown during reload