test if mobile is connected to internet