Complete the gap with the correct particle.
He managed to get to the store just before it closed ... for the night.