python process stdout readline timeout