fixed reusing socket generated session token bug