Implement timing out in the test runner