catch ValueError to display better message
gaurd against no network