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. kcat is 0.028 sec(-1) with benzoyl-CoA, 0.034 sec(-1) with stearoyl-CoA, 0.045 sec(-1) with palmitoyl-CoA, 0.024 sec(-1) with myristoyl-CoA, 0.015 sec(-1) with lauroyl-CoA and 0.0013 sec(-1) with octanoyl-CoA. Homotetramer. May interact with CagA. Belongs to the 4-hydroxybenzoyl-CoA thioesterase family.