This doesn't really enforce a proper "rate" ... if it doesn't matter that much, then no big deal.  We should probably add an initial publish above the while loop though (in each case)