Dynamic congestion avoidance