uqmi: use correct value for connection checking