should check for network failure in response to or to prevent IOException