void WaitCanceled(object sender, WaitingCanceledArgs args)
        {
            MyMultiplayerPeers.Static.ServerDisconnected -= m_serverDisconnectedHandler;
            MyMultiplayerLobby.Static.CancelGetGames();

            if (args.CancelReason == CancelReasonEnum.Timeout)
            {
                ShowNetworkError();
            }
        }
        void OnJoiningCancelOrTimeout(object sender, WaitingCanceledArgs waitingCanceledArgs)
        {
            MyMultiplayerPeers.Static.Shutdown();

            switch (waitingCanceledArgs.CancelReason)
            {
                case CancelReasonEnum.UserCancel:
                    // do nothing
                    break;
                case CancelReasonEnum.Timeout:
                    MyGuiScreenMessageBox.Show(MyTextsWrapperEnum.JoinGameTimeout, MyTextsWrapperEnum.JoinGame, MyMessageBoxType.ERROR);
                    break;
                default:
                    throw new ArgumentOutOfRangeException();
            }

            GetDataFromServer(true);
        }