@khellang I was just wondering about the ability to spin up a new thread from the executed code, as there might be some limitations with Roslyn and I have not tried to do this particular thing. 

If it does work I'd go for this approach to avoid having to add a method to the session interface, which would only make it more complex.