Optimizing the usability of unwanted latex yield by in situ depolymerization and functionalization