ENG-6428: Make exportdatasource free from hsid.