public bool TryGet(string sessionId, out IExtensionConnection connection)
 {
     lock (mutex)
     {
         return(connections.TryGetValue(sessionId, out connection));
     }
 }
        public bool TryGet(Guid characterId, out IExtensionConnection connection)
        {
            lock (mutex)
            {
                if (sessionInfoProvider.TryGet(characterId, out var session))
                {
                    return(TryGet(session.SessionId, out connection));
                }

                connection = null;
                return(false);
            }
        }