stream with gevent. like iostream in tornado.