Decrease the queued count with stratum work once it's staged as well.
diff --git a/cgminer.c b/cgminer.c
index 328b083..16c3955 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2583,6 +2583,7 @@ static void *get_work_thread(void *userdata)
kill_work();
free(ret_work);
}
+ dec_queued(pool);
goto out;
}