MOD: fix deadlock
MOD: fix deadlock
Merge pull request #10 from git-hulk/sunlei99

i merged it for clone