If you follow the river long enough, eventually you may come to a place where the water once ran, and carved out large caves from the rocks. It's dubious as to how stable the caves are, but if you're willing to risk it, it's dry, and it's shelter close to the river.