Had this problem with a late inbound in LIS where they bussed to and from the plane. From doors open to closed for take off was exactly 40 mins and it was a VERY tight connection for the turnaround. Not helped by the disabled pax who took an eternity to disembark and kep the bus from the plane to the terminal waiting. IMHO it is possible to miss the connection if things conspire against one.