Added a throws Exception to retrieveNetworkResponse to improve flow in erroneous situations