In Harry Potter:
“But why don’t you leave? Escape?”
“A house-elf must be set free, sir. And the family will never set Dobby free . . . Dobby will serve the family until he dies, sir. . . .”
Why does he say "he dies" but not "they die" since I think "the family", which is the Malfoy family, is plural?