Sleep a little when updating rivers so they have time to be deleted.
merge