EZP-22641: Wait for async publishing on upload

If a content is published asynchronously, wait a few (3) seconds
before re-fetching it in order to give the daemon enough time to
publish.

If the content still isn't published, the fallback template
will be used.