There's now a run_in_new_ctx function that allows you to run another function in a new context, meaning with a new session. Sometimes you want to run it not just with a new session, but with a specific session. For example, if you want to run a unit test for a function that already has an active session.