Returning agent on request error

If there was an error during the request of an url, I still want to continue processing the other ones doing agent.next()