private void discardConnection() {
final NHttpClientConnection localConn = this.managedConn.getAndSet(null);
if (localConn != null) {
try {
localConn.shutdown();
if (this.log.isDebugEnabled()) {
this.log.debug("[exchange: " + this.state.getId() + "] connection aborted");
}
} catch (final IOException ex) {
if (this.log.isDebugEnabled()) {