If you have the old plastic or rubber hoses that connect your washing machine to the hot and cold water feed pipes, you should have them replaced so they do not burst. Properly installed stainless steel braided washing machine hoses will keep your washing machine from flooding your wash room or basement.
Image: Best Outdoor Sump Pump / CC BY-SA (https://creativecommons.org/licenses/by-sa/4.0)