Actually, it probably isn't for torps - to prevent airbubbles from escaping (tell-tales), the water and air were sucked back inside the sub. In Gatos it could go to a tank for this purpose, or sent to ballast tanks. (also vented outside, but that would be less common, as in, only do-able when not going to be seen).