People have been urged to avoid using the water and beaches within Poole Harbour in Dorset after the leak.