private void ReceiveThread()
        {
            NetworkHelper net = NetworkHelper.GetInstance();

            Debug.WriteLine("Listener started!");

            for (int i = 0; i < 5; i++)
            {
                Thread.Sleep(100);

                Debug.WriteLine("Check!");

                if (net.PackageQueueCount() > 0)
                {
                    NetPackage received = net.PopPackage();

                    NetCommand cmd = received.NetCommand;

                    _receivedFlag = true;

                    if (cmd.GetCommandHeader() == "test" && cmd.GetCommandData() == "test_data")
                    {
                        _okFlag = true;
                    }
                    ;
                }
            }

            Debug.WriteLine("Timeout fail!");
        }