[FIX] core: correct cron thread registry iteration