add a fix for the mosquitto upgrade error, that disconnects the client from the MQTT server.
https://github.com/micropython/micropython-lib/issues/445