Do Not install a float valve on the waste line!
You will ruin your RO membrane. The waste line needs to flow open ended with no restriction past the flow restrictor. No float valves, no check valves and no solenoids or anything.
The ASOV takes care of both the treated and the waste flows by itself. As I said earlier, if you have an ASOV and float valve on your treated line and your waste continues to flow then it is not functioning properly. It could be installed incorrectly, it may be the wrong ASOV for your application, it may need a mini bladder tank and/or check valve, it may have air trapped in the housings or it may be defective. A properly installed ASOV shuts both the treated and waste flows.