Re-trapping HTTP 5xx errors