TryClose demo