fix ProcessApiTests due to race