The provider of the insurance can always insure itself for that catastrophic case. It's called Reinsurance.