unit-tests: Catch timeouts during test runner deinit function