The title to canals and incidental works in connection therewith shall remain in the United States until such time as the United States shall have been reimbursed for the cost thereof, together with expenses incurred in their operation and maintenance, whereupon the said Secretary shall transfer title to such canals and incidental works to the districts or other agencies or owners of land paying t