Update request_url.py

update threading lock