Octopuses have three hearts: two pump blood to the gills, while the third pumps it to the rest of the body. The heart pumping to the body stops beating when the octopus swims.
Notes on verification
Well-documented in marine biology textbooks and peer-reviewed literature on cephalopod physiology