Fix: Reduce code complexity below 9 Part 2 (#742)
Fix: Reduce code complexity below 9 Part 2 (#742)

* Fix: Reduce code complexity below 9 Part 2

Files in PR: iot_mqtt_api.c


aws/aws-iot-device-sdk-embedded-C,aws/aws-iot-device-sdk-embedded-C,aws/aws-iot-device-sdk-embedded-C