Fixed crash with bad internet connection.