Split waiting tasks by deadline.