Add Close with isClosed check