sessionEnding(ISession session) When a session is ending, if it happens to be the one this class is using,
then set our reference to null to allow it to be GC'd.
When a session is ending, if it happens to be the one this class is using,
then set our reference to null to allow it to be GC'd.
Parameters: session - the session that is ending.