You must remember that a Fischer esterification (which this is) is an equilibrium reaction. An ester and water, with an acid catalyst will yield yield the carboxylic acid and alcohol. This is the reverse. Normally just HCl (g) or conc sulfuric acid can be used. It is advantageous these acids also sequester water.
I would anticipate that thionyl chloride will both yield HCl and react with water to give SO2. I don't think it will require a full equivalent to absorb water, but you could just try it. I doubt you will find an ideal stoichiometry. As the carboxylic acid concentration decreases, the reaction rate will also decline. It is an equilibrium reaction and side reactions can also occur. I suggest you find a set of conditions from an economy of time and material.
If you have the choice of reacting either directly or via an acid chloride, just use which works best. You could also use different HCl sources, phosgene, diphosgene, oxalyl chloride, or acetyl chloride. You could also use the acid chloride to generate HCl, but it would probably react too slowly.