Thread blocking the hostApplicationLifetime.StopApplication() ->DnsMonitor.Monitor()

I’m trying to stop my backgroundservice with the hostApplicationLifetime.StopApplication() but one thread is blocking the shutdown.
One thread in MongoDb.Driver.Core.Clusters.DnsMonitor.Monitor() is like awaiting and it’s blocking to shutdown the app.
I have this issue when i connect to a sharded cluster mongo 4.2 with c# driver 2.11.2.
Anyone knows how to dispose or kill this thread ?