Prevent ConcurrentModificationExceptions that have been showing up in the
Jenkins test runs of this class.