Fixed potential deadlock when MQTT publisher goroutine exits before packet reader goroutine.
Fixed potential deadlock when MQTT publisher goroutine exits before packet reader goroutine.

moderepo/device-sdk-go