support for WSGI genrators in tornado