Use more of the read handle functions in the client, and return on error.
Use more of the read handle functions in the client, and return on error.

tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto