use mutex lock for concurrent safety delete
Merge branch 'mutex-locked-free'