Thread count doesn't need locking, instead should use an AtomicInteger

Thread count doesn't need locking, instead should use an AtomicInteger.