fix for last race condition
Merge pull request #873 from realm/al-race

Fix for last race condition