They’ve got an abundance of insects somewhere, they’d do well to leave the egrets be. They will move on when the food source is gone. A flock of cattle egrets can eat a lot of crickets, grasshoppers and grubs. As to a health hazard, that just isn’t likely. I spend a lot of time around wading birds, it sure hasn’t hurt me.