Just a little update to this,
I changed my xylene to o-xylene, which is the highest boiling point member in the xylene family. The reaction seemed to work better. After 1 day, there were less side products. Last time I refluxed the reaction for 2 days in m-xylene and obtained very less product. I am now trying to reflux it in o-xylene for 2 days and see what will happend.
At the same time, since the reaction involves a condensation reaction (water elimination) as the final step, shall I remove the nitrogen purge for the condensation to go better? I am not sure if water elimination can occur in a refluxing reaction in an enclosed nitrogen atmosphere.