Remove extra dependencies.

* Replace gevent by using Queue