in src/main/java/com/spotify/futures/ConcurrencyReducer.java [122:134]
private Job<T> grabJob() {
if (!limit.tryAcquire()) {
return null;
}
final Job<T> job = queue.poll();
if (job != null) {
return job;
}
limit.release();
return null;
}