Adjusted getNetWorkConnection in response to failures recently.