fixing silent-failure issue when the test times out before it completes synchronously