Strange MQTT Client behavior

For completeness, the updated test version can be found here:

Please report your findings :slight_smile:

Details of the changes: