its for check the internet connection in device