using atws::connected()