Bug 1062192 - Avoid race condition adding events before datastore. r=kgrandon