reduced update_tasks() calls to every 1000ms in only idle, leader, or minion state