APM library hangs

We are using Elastic APM 1.19.0 in our .Net Framework asp.net web.

Recently we have experienced problems with the APM library hanging with 100% CPU usage.
All the threads on the web server are stuck on the same place, which is

Elastic.Apm.Model.Transaction.SetLabel(string key, string value)

Are there any known improvements within this area?