Use a VarHandle for closed flag