Telegram Bot: GetUpdates Conflict Error on Windows 7

Using a Telegram bot sample on Windows 7 generates a ‘Conflict: terminated by other getUpdates’ issue. How can this be fixed?

public static async Task RunBotExample()
{
    NetworkConfigurator.EnableTls(SecurityProtocolType.Tls12);
    var client = new BotService(Config.BotKey);
    var botInfo = await client.FetchInfoAsync();
    Console.Title = botInfo.Name;
    var cancelSource = new CancellationTokenSource();
    client.BeginReceive(new CustomUpdateHandler(ProcessNewUpdateAsync, LogBotErrorAsync), cancelSource.Token);
    Console.WriteLine($"Listening for @{botInfo.Name}");
    Console.ReadLine();
    cancelSource.Cancel();
}

hey, check if another instnce is polling getupdates at same time. also, ensure the cancellation token properly stops old sessions. sometimes leftovers cause conflict, so kill any stray process.