refine PAAS urlfetch error handling.