It's my understanding that a good clean yeast will stop any foreign yeasties along with good sanitation of course. Perhaps if you're not getting a fast vigorous ferment going the wild yeasts are taking over. I would also, if you can, change your fermentor. It could be housing some unwanted nasties in there that even with proper sanitation might be hanging around. I would eliminate all other possibilities before spraying the tree, because that may not solve the problem.
Good clean yeast and sanitation won't solve anything if it
is a wild yeast infection. These occur when the yeast gets into your beer during the brewing process. Fast starting fermentation doesn't fix the issue and it doesn't matter how clean your equipment is.
I can't say for certain whether spraying the tree will work.
I used to get them occasionally but suffered a bad run of these last year.
As I can't be certain what particular plant or time of year causes them I've had to take steps instead to eliminate the problem using a different method.
I use a kind of no chill ish thing, based on a method given to me by another brewer who also suffered with wild yeast for a period.
I can't say that it is best practice, I can't say that its the only solution, but it works for me.
I give the wort a quick blast with the chiller to drop the initial temp a little, then transfer at no lower than around 75-80C. I don't measure anymore, just give it a quick chill and transfer via silicon hose to the fermentor.
I then use the brewing fridge to chill this down.
Yes it does put a load on the fridge but overnight it is ready for pitching and the process works.
I haven't had wild yeast issues since this was implemented.
I don't bother thinking about whether it is a time of year it might be safe anymore, I just use this all the time.
It's a bit of a pain in some ways but not as much of a pain as when you start to notice the beginnings of the infection and realise that another batch is about to go down the drain...