US convenience store operator The Pantry returned to profit in the first nine months of the year, boosted by improving traffic trends and foodservice growth.