The closing behavior of the window as it relates to watermark is now clearer, and the issue is resolved with the idleTimeout.
Thanks for looking at this issue and resolving my confusion here!