Updating SimplePromiseAggregator to use an AtomicInteger for the
awaiting counter.