@Override
public final Connection acquire(Host host) throws InterruptedException, IOException {
if(!shutdown.get()) {
increaseUsed(host);
Timer blockingTimer = ThreadLocalMetricsRecorder.getInstance().getBlockingTimer();
blockingTimer.start();
Connection connection = getConnection(host);
blockingTimer.stop();
return connection;
}
return null;
}