Which MQTT library are you using? Did you roll your own?
Feel free to contact me, details in profile.
At first, we used an erlang lib emqtt, but it was left unmaintained and then removed from github. We had to switch to something else. Not completely happy, but it works for us
I will have a look at this new package, it looks promising