Driver arrival and detention

The food shipment will miss receiving. Who acts before the dock does?