How does the sentence end?

James knew the food would have got cold before coming back from the store, so he bought the item in a kiosk because the
kiosk is closer.