Fixed annoying queuing issue with Popen