I am not interested in such a function. IMHO, it is not worth the trouble.
I'd rather focus on removing things that may be a reason for a restart. E.g. programming errors in cb or its plugins: undefined behaviour corrupting state, memory leaks or logic errors. One thing that annoys me for example is the slowdown in "find in files". After using it a few times on a larger project it becomes an order of magnitude slower.
Switching the language during runtime does not occur on my priority list either.