Show error message when there's no network connection

Change-Id: I5a2bc37ce13786ddefcf758ed3250457757ddf81