I read about this device over the weekend. The write-up was by someone who had one of these installed in him home and it saved him a great deal of grief. The shutoff is radio connected to sensors that trigger the shutoff by as little as a few ounces of liquid.
Manufactured by and available from DynaQuip
Available from Amazon