handle error raising from entrypoint providers

Providers are not allowed to manage their own threads anymore.
Instead they have to request a thread to be spawned by they container, similar to how a worker is spawned.
There is quite an overlap between the worker thread handling and the provider thread handling. This will probably merge eventually.