While this does not solve your immediate issue, I would recommend getting a couple of water sensors. The D-Link DCH-S161 is fairly inexpensive on Amazon for approx. $45. It is Wi-Fi enabled and will automatically detect any moisture on the floor and emit an audible alarm along with an alert on your phone via an app. Super easy to install, it will take about 5 min. It is battery powered so you can place it anywhere you want. Recommend you place them in areas of high risk of leaks, like washing machines and dishwashers. Given the amount of damage you can get from water leaks it’s a small price to pay. There are also more sophisticated sensors available (and more expensive) that will automatically shut off the main valves in case of leaks.