Fix work loop bug introduced in #78
In #78 (closed), in an attempt to make the work loops more robust against failures inside their tasks, a bug was introduced that leads to repeated submission of the same task to the same work loop. At some point the work loop runs out of queue space, and fails. This happens to the PIDAQLoop, for example, after many run start/stops.