debug for mqtt-client crash on publishing and receive PUBCOMP with invalid messageId