It’s definitely not a closed system unless the water from the waste water treatment plant is pumped back upstream of the source of the municipal water which is not how most of these work.