On fly ScheduledTask upgrade, fixes #2217