Connect backup stratum pools if the primary pool cannot deliver work.
diff --git a/cgminer.c b/cgminer.c
index 6e47b43..43fd63b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4899,6 +4899,8 @@ static bool cnx_needed(struct pool *pool)
* it. */
if (pool_strategy == POOL_FAILOVER && pool->prio < cp_prio())
return true;
+ if (pool_unworkable(cp))
+ return true;
return false;
}