Display better error msg when there are network problems #318