Track 125 list boolean or help

I have a config where it fails over to ISP2 if ISP1 goes down. My problem is that when this happens, and ISP1 comes backup (usually within minutes), it takes down the office one more time because it is switching back to the main ISP.

And if the ISP1 goes down again (which happens a lot when they are fixing the issues), the router switches to ISP2 again, and this process can continue and ending on a worst result than what the failover was intended for. It also kills my nat and creates interface flapping and many other problems.

What I want to do is delay the time ISP2 stays as the primary line. For example, if ISP1 went down and ISP2 became the primary one, I want ISP2 to continue to be the primary regardless of the status of ISP1. I want this delay to be for 9 hours.

I tried delaying it by changing the "delay up 120" to "delay up 32400" and it is not taking.