Regeneration of thin-film composite membrane used for permeation of hexane vapors