Fixed double run of app

This happens simply in debug mode because in debug mode the app.run() is executed twice, hence the SQLProvider is instantiated twice