added retries and updates to qos on publish