System.InvalidOperationException: Cross-thread operation not valid

I’m lost: How do I do that?

At the moment, I call ExpireSolution(true) on the component, which according to documentation I think should be the right thing to do.

If you like, you can open my project. It’s stripped down to the bare minimum to replicate the issue.