might fix the double logging off msg...
Merge pull request #13 from zacpez/raceCondition

might fix the double logging off msg...