Set pool died on failed testing to allow idle flag and time to be set.
diff --git a/cgminer.c b/cgminer.c
index fece449..c990911 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6980,7 +6980,8 @@ static void *test_pool_thread(void *arg)
}
mutex_unlock(&control_lock);
pool_resus(pool);
- }
+ } else
+ pool_died(pool);
return NULL;
}