Continuous solvent extraction in a closed-loop system