Fixed possible timing problem.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core