recover http.handler