Biofilm detection and prevention of related issues