publish: Don't go through the completed list multiple times
publish: Don't go through the completed list multiple times

Fixes up the printed output and marginally faster with multiple
processes.

Fixes #15 on github

remakeelectric/mqtt-malaria,remakeelectric/mqtt-malaria