DOC: deadlock resolved with locking introduced in 3a58d0e and d07df66 now uses subprocess.Popen.