How to recover from rendering stop due to an error

Rendering stops when an error occurs, how can I start rendering again?

When a renderError occurs, viewer.useDefaultRenderLoop is false.
https://cesium.com/learn/cesiumjs/ref-doc/Viewer.html#useDefaultRenderLoop
Rendering should resume by setting viewer.useDefaultRenderLoop to true.

Thanx!