One of the disadvantages of driving a manual transmission (stick shift) car - not quite supplying enough power to the engine causes the vehicle's engine to stop.

Usually occurs when learning to drive, and never on quiet side-streets - only on congested roads, at traffic lights and roundabouts.

Some cars are more suscepable than others.