Unable to disconnect from the Mqtt broker

Hi everyone! I am using an Mqtt Broker as a node and I am trying to connect to it from another node using emcute functions. I successfull connected to the Ip server address and 1885 port but when I tried to disconnect with emcute_discon(); the result was that it was unable to disconnect. != EMCUTE_OK. So I was unable to connect again to the broker from another node, since I have many different nodes that needs to connect to this broker in turn. How to solve it ? Why does it happen ? Can I force disconnect,. Could be useful to try again with the continue ? Thank you for your help. Bye

I found the answer. It was because before disconnect it is required the unsubscribe