Smart dosing systems cleaning