add SCHEDULER_IDLE_BEFORE_CLOSE = 10 to settings