The city said the move to keep the pools closed was to protect and health and safety of the swimmers.