fix race condition
Merge pull request #4 from remind101/sync-create-logs-unicorn

fix race condition