improvements to MQTT topic subscription