How a toilet became the cause of a submarine's demise