Instant Games, handle ad request time out (error)

fdgh

Sometimes I got error time out while preloading interstitial ads, but the error event can’t detect it.

this.facebook.on('adshowerror', function (error)

I put a loading progress on preload start and remove it when ad finished or error. if I can’t detect this error, the loading will be shown forever.

how to fix this?