Stop flask debug mode