Add invoke task for tornado app.