SmartStore creation was not thread-safe
Merge pull request #817 from khawkins/thread_safe_smartstore

SmartStore creation was not thread-safe