Added retain=True to publish, to make sure temp always exists in topic.