Fix race conditions in TargetPool.

The race condition detector found a few anomalies whereby a
TargetPool could be read during a mutation.  This has been fixed.