if (response != null && !response.isFinished()) {
final RequestHandler handler = response.handler();
if (handler != null) {
handler.onException(response.request(), response, exception);
}
config.logger().error(response.request(), response, exception);
response.close();