3D model missing error

In my app I have a few 3d models. Sometimes, the connection to the server lags or is temporarily not available, and then the cesium widget crashes, saying the 3d model file is not available.
Is this crash a must? Or can you do something more forgiving (e.g. keep the app going without the model or cache the model)? Or is there a more elegant way to handle this?

Thanks