Changed the Utils::isOnline() method