add thread safetey check for modify_request test