missing lock added.
Merge branch 'master' of https://github.com/yuhu-/libebus