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.
Fix #152: an exception will now be thrown when an http timeout is reached
Second are in fact milliseconds