It's the unwritten 10 minute final boarding rule. Gate agents have been told by management they can close the door to the plane 10 minutes before departure, not when the plane is ready to push back at the scheduled departure time. The real problem is that this rule is not consistently practiced.