adding check error net work connection check and show Dialog waring