Is there anything available that can be used to shut off the power to a well pump when water is sensed on the floor? I've had two instances over the past five years where a major leak developed in a utility room which led to the total destruction of the downstairs flooring. In both instances if the well pump shut down upon sensing water on the floor the damage would be non-existent.

Thanks for any help!