Is `app.run` supposed to be called twice?