replace queue.peek with queue.get in gevent 0.13.6