fix deadlocks
Merge pull request #449 from patriot1burke/master

fix deadlocks