[Bug 40349] Window close delay and "fixme:event:wait_for_withdrawn_state ... wait timed out" messages