Add threaded=True to app.run