exception handling for when request can't get response