clean exception throwing in TryWindow