Speed up app.run()