As millions of people look to cool off at beaches this summer, many are closing because of harmful bacteria.