Make sure class_variable_get is closed through a close, not an instance