Internetconnection check added