Did you have the water sit in the water pipe for an extended amount of time? Was the tube cleaned regularly?
I would guess that if one kept the tube clean regularly, such as the water pipe being cleaned before each use, there would be almost no risk of any infection. The only place that I could...