Is there a way to stop tunnels being flooded near water sources?

simulgame 0 201

Is there a way to stop tunnels being flooded near water sources?