agreed, I added an AtomicBoolean in the base class