Added locking to DAWG loading functions

Prevent multiple concurrent requests from attempting to load the DAWG
simultaneously