reset alarm on error