moved rest_call lock to backend pool level