Whew! I was having all the same problems. After hours of banging my head against a brick wall, I came across this step-by-step tutorial that seems to have solved most of my issues… well, mostly.
I’m still seeing two connections from OH3 to my Mosquitto broker… but that’s a lot better than what I was getting earlier, with one always recycling every few minutes.