Maybe just set a regular time to remove the variable rather than using the variable's unset switch. That would work, but not positive it's the best way. In either case, I'd put this in the feature requests forum.