I wonder what is the purpose of the `closed` flag? Under which circumstance can a session be started === true and closed === true at the same time?