Catch exceptions in request, such as `getaddrinfo ENOTFOUND`