Don't pay any attention to when they say they close. That's just when they lock the doors and turn off the registers.
They stop serving food at some impossible-to-guess randomly-selected time prior to their closing time when they turn off their oven.