Dorico restarts immediately after closing

I think perhaps you’ve misunderstood what’s going on. See here for a solution: Byepass Steinberg Hub - #2 by Chris_Dobbs - Dorico - Steinberg Forums

If it’s me that’s misunderstood, I apologise!