having lock around resource_item_list to avoid racing condition. close#161