syncClient.close();
}
SyncIdleConnectionMonitorThread syncIdleConnectionMonitorThread = (SyncIdleConnectionMonitorThread) Options.getOption(Option.SYNC_MONITOR);
if (syncIdleConnectionMonitorThread != null) {
syncIdleConnectionMonitorThread.interrupt();
}
// Closing the Async HTTP client (if running)
CloseableHttpAsyncClient asyncClient = (CloseableHttpAsyncClient) Options.getOption(Option.ASYNCHTTPCLIENT);
if (asyncClient != null && asyncClient.isRunning()) {