stats: using common task running infrastructure