TYRUS-230: When Session is invalidated, the close reason is not 1006.