As the dog swims close  the duck flies away .