I see now there is information on the session lifecycle in this thread:
Added an issue to enhance docs on this.