wouldn't this `.close` call generate a `close` event right away?