Hi Max,
So, when using the core-API in embedded mode, the preferred way would be to create a new Thread per query - somewhat like the ClientListener does in server mode?
Yes, that's what you need to do. You need to create a custom (sub) context for each query.
Feel free to ask for more details, Christian