private void initExection(
final HttpAsyncClientExchangeHandler handler, final NHttpClientConnection conn) {
conn.getContext().setAttribute(HttpAsyncRequestExecutor.HTTP_HANDLER, handler);
if (!conn.isOpen()) {
handler.failed(new ConnectionClosedException("Connection closed"));
try {
handler.close();
} catch (final IOException ex) {
log(ex);
}