The plane does its job, as the enemy commander I would court-martial any pilot comming home before his tanks are empty, although I have the feeling plane's ammo are unlimited...
It's up to you to avoid MAD detection by slowly getting out of his detection range, it's difficult but you can do it, you have to use tricks like decoy torpedos if need be. And helos with dipping sonar are easier to avoid.