Fixed bug that caused crashes on startup if the user has a bad internet connection