The Timing of Port Capacity Extension