How Planning Helps to Avoid Shipping Delays