fixed subprocess timeout