No longer segfaults if internet connection is not present