If no connection then show alert()