fixing problem where the first timeout would trigger timing out the test (rather than the last)