Add some important network connection error handling