Using Popen in a thread blocks every incoming Flask-SocketIO request Using Popen in a thread blocks every incoming Flask-SocketIO request multithreading multithreading