Fix issues with unset_alarm() [1/2]