Adds naive check for network connection