updates to connection checking