Fix stop chat session issue