Thioesterase that may be involved in phospholipid metabolism. Displays acyl-CoA thioesterase activity with lauroyl-CoA (C12:0), myristoyl-CoA (C14:0), palmitoyl-CoA (C16:0), stearoyl-CoA (C18:0) and benzoyl-CoA, catalyzing the hydrolysis of the thioester bond. Has low activity with butyryl-CoA and octanoyl-CoA (By similarity). Homotetramer. May interact with CagA (By similarity). Belongs to the 4-hydroxybenzoyl-CoA thioesterase family.