public void AsyncSendDataProcess()
        {
            while (SendData)
            {
                if (asyncQueue == null || asyncQueue.Count == 0)
                {
                    Thread.Sleep(Waitingtime);
                    continue;
                }

                try
                {
                    var message = asyncQueue.Peek();
                    brokerPublishProxy.PublishAsync(message);
                    notifySemaphore.WaitOne();
                }
                catch (Exception e)
                {
                    Console.WriteLine($"Error while sending async message from queue: {e.Message}");
                    throw;
                }
            }
        }