Implement canceling alarm.