Added additional exception check for no response from server