Fix synchronization to use BlockingQueue instead of wait/notify.
All dead locking will be solved by this fix.
Merge pull request #162 from takezoe/develop

Fix synchronization to use BlockingQueue instead of wait/notify.
Great, fix for #152 will be trivial thanks to you.