close response on exception