schedule failed tasks, limit retries to 3 times