Checking for < 0 makes the contention resolution timer trigger on each iteration once it is < 0. Instead, use == 0, which will trigger only once.
Checking for < 0 makes the contention resolution timer trigger on each iteration once it is < 0. Instead, use == 0, which will trigger only once.