Recovery of starting material, waste material or solvents during the manufacturing process