Likely related to threadpool behavior. This was fixed but there may have been a regression.
This issue is mostly to reference from a private project.
Credits to David Kent for diagnosing the following:
Basically we ultimately get a resource unavailable error when creating new threads. The linked commit does now at least fail with an exception rather than hanging.
The underlying issue is that a new threadpool is created for every complex evolution. This means a LOT f threads get created and destroyed. Any thoughts on how this could be rationalised? Could the threadpool be reused rather than started from scratch each evolution?