Tell the SessionStore to persist when the WebSocket connection closes