/// <summary>
        /// Unregisters a CoreRemoting server.
        /// </summary>
        /// <param name="uniqueServerInstanceName">Unique name of the server instance</param>
        public static void UnregisterServer(string uniqueServerInstanceName)
        {
            var server = RemotingServer.GetActiveServerInstance(uniqueServerInstanceName);

            server?.Dispose();
        }