Check to see if a client has timed out *before* adding it to the read fd set. If it has timed out, clean it up properly.
Check to see if a client has timed out *before* adding it to the read fd set.
If it has timed out, clean it up properly.

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