Hydraulics of river channel closure