WIKI-566 fix NPE in SessionDestroyedListener