<BUG>throw new ConnectionException(host.getSocketAddress(), "Pool is shutdown");leastBusy = waitForConnection(timeout, unit);} else {</BUG><CONTEXT>leastBusy = connection;}}if (leastBusy == null) {if (isClosed())<extra_id_0>while (true) {</CONTEXT>
return Futures.immediateFailedFuture(new ConnectionException(host.getSocketAddress(), "Pool is shutdown"));return enqueue(maxQueueSize);} else {