If internet is not available user gets an alert.