Adding threaded option to the app.run() command