As a future TODO... when comparing this with `MqttClient_WaitType` there are some fixes that need brought over. _Originally posted by @dgarske in https://github.com/wolfSSL/wolfMQTT/pull/366#discussion_r1378145887_