I\'ve got an ASP.NET Core HTTP-server running in .NET 5. A library that I\'m using needs to be initialized once per thread. Ideally, I\'d be able to add some kind of callbac