Fix crash on ack callback not exist

Client(as publisher) got duplicate 'pubrec' if broker is busy (test by Mosquitto, QoS=2),
and crash on undefined callback.