Fixed crash if not-connected to the Internet