I will remove the close logic to the base class, and it will use an AtomicBoolen