A pub will close next month