You shoot until there is no longer a threat. Pistols are not death rays. People can continue the fight after several hits, even dozens in some cases. Three shots is very reasonable. 15 is reasonable.
You are used to shooting animals with rifles, which is completely different than off-handing pistol rounds into somebody under severe stress with almost random distribution on the body.