internet connection exception handling - done