How did the US try to avoid submarine warfare?

sure why not.