For the sake of continuity and letting the actors age into their roles. In the interim, they've got the Fantastic Beasts series to play out. I think 'Harry Potter' is a prestigious enough franchise for Warner Brothers - and Rowling has enough clout with them - that they'll play the long game milking it.