Move the mqtt_subscribe calls to the connect callback handler, so they are restored after a reconnect.