Local Congestion Avoidance in Network-on-Chip