Fix for race condition in ThreadLockServiceImpl
Merge pull request #47 from mrietveld/lockservice-race-0.3.x

Fix for race condition in ThreadLockServiceImpl