Throw error if that happen during deferred app.run()