Wait until task is published using destination index.