This reverts commit 914ba475de. Unclear why I applied this or what it was supposed to do. A new session has no state.
914ba475de