Stop test after 10 seconds unless we're already done