2 ponds in Barnstable closed to swimming as testing continues. Recent testing of approximately 70 of the Cape’s 996 ponds and lakes revealed the presence of toxic bacteria in a handful of them. These cyanobacteria are naturally occurring and produce toxins that can harm dogs and humans. Their proliferation is being aided by global warming and nutrient pollution by septic systems and stormwater runoff.