class HttpDriver implements Closeable {

    @Override
    public void close() throws IOException {
        if (client != null) {
            try {
                this.client.close();
                LOGGER.info("Successfully closed httpclient.");
            } catch (IOException ignored) {
            }
        }
        if (connManager != null) {
            connManager.close();
            LOGGER.info("Successfully closed httpclient connection manager.");
        }
    }

    public  HttpDriver(Builder builder);

}