scheduler: fixed the attempts scheduling on long intervals