Use warcprox as thread instead of subprocess.