On the mechanism of current cutoff in lightning flashes