You might want to try this, as it's worked for me in similar situations: whatever tube seems to be 'jammed', select that tube and click 'W' to force the outer tube cap and door closed. If they remain open, needless to say you can't also then open the inner door at the same time to load a torpedo. :p