Once you pass US customs preclearance and enter the US departures area, you must travel to the US; you can't just go back out to the rest of Canada. If you want to have lunch landside, go landside directly after arriving; stay out of the US departures area until after lunch.