Using the @tornado.gen.coroutine decorator