IIITH's smart tech to save water and plug leaks wins patent