Connect and disconnect to the Internet