Um, no, our systems don’t work first time every time. The vaunted anti-torpedo torpedo systems that were being put on carriers have been removed because they don’t work.
https://www.thedrive.com/the-war-zone/26347/the-navy-is-ripping-out-underperforming-anti-torpedo-torpedoes-from-its-supercarriers
That was not an operational weapon system.