handle no connectivity