To prevent root rot you should take precautionary measures. Maintain the pH level of your solution. Use the limited quantity of nutrient solution and keep changing it in regular intervals. Keep the hydroponic system sterile and use an air pump as much as possible. Do not try to fight root rot. Once the roots are damaged you will have to remove them manually or use a fungicide like hydro guard or hydrogen peroxide.