Isolated synchronous deinit #2

If it is about sync deinit - attributes, task local behaviour or other topics, then this thread is a good place.

If it is about async deinit, these two might be a better topic: