Earlier this year my SAN-SFO flight rolled up to the gate, but there's another plane there. We waited about 45 minutes for our gate to finally clear. The reason was that luggage sorting system broke, and the departing flights can't get their proper luggages. Thus they can't leave.