Behavior of a zonal flow near the threshold