Checking if device is online before trying to acknowledge an alarm.