Prevent text interleaving of concurrent inserts.
It's the difference between "josh somak" and "josshomak ".
Merge branch 'master' of https://github.com/joshma/padthai