Yes, passing in shared objects by reference can be problematic, as you never know if the underlying library will decide to alter it. I got wrecked by the PUBLISH_OPTS options getting changed which was causing failover issues, which has since been fixed in the MqCluster. This particular instance I believe was missed in that PR, so just doing it here.