fix: emit error
event on connack timeout
#1781
Merged
error
event on connack timeout
#1781