There is no specific rule requiring an airline to wait for late passengers. It depends on the airline and conditions. They do a cost-benefit analysis. If there are many connecting passengers, an airline will tend to wait as they will face significant costs.