3.2.1.3 Cleaning Up a Session Object
When a session object is removed from the session table, it MUST be cleaned up as follows:
Any outstanding RPC associated with the session object MUST be canceled; this includes calls to BuildContext, BuildContextW, Poke, PokeW, BeginTearDown, and TearDownContext that are being used to establish or tear down the session represented by the session object.
All active timers associated with the session object MUST be canceled.
The RPC binding handle stored in the session object MUST be released if it has been allocated. For RPC binding handles, see [C706].
The RPC context handle stored in the session object MUST be released if it has been allocated. For RPC context handles, see [C706].