Checks your connection to the internet.