Pause fastdotcom speed test when gaming

fastdotcom works great on its own for me, testing my download speed every 30m. Problem is if I’m playing an online game at the time it runs a test, I will lag for a while until the test is done. I would like to disable the test when gaming.

Since I have a router that gives me real time stats on bandwidth, I tried to setup an automation that would run fastdotcom every 30m with the condition that my current kbyte/sec received is below 100, which if it is over that, it means a device is currently using the network. This works, except it also checks the condition as the automation runs. So I get a little spike in my kbyte/sec recieved every 30m where fastdotcom starts running, but when it hits 100 it stops and I don’t get the test results. For reference, when I run the fastdotcom test and it works, I will see a spike of ~3000 kbyte/sec.

Is there a better way to do this?