Shows proper error message if internet is not available