Contracts typically contain force majeure clauses. Here a sample
Sample force majeure clause
"No Party shall be liable for any failure to perform its obligations where such failure is as a result of Acts of God (including fire, flood, earthquake, storm, hurricane or other natural...