fix return value of OC_Util::isinternetconnectionworking()