This value might need tweaking. I ran the test 10 times without any failures, but I'm not sure if this is enough on other systems.