fix(close): actually mark the page as closing (#2798)
fix(close): actually mark the page as closing (#2798)

Currently double-closing flakiness is seen on Firefox bots.
microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright