Occasional Draining

The River Thames gets drained on occasion. Of course, since the river is so large, the draining has to be sectionalized since there simply isn’t a way to drain the river and all its branches at once.
But why would they possibly want to drain the largest river in England?