usually when the lights go off is when the humidity rises,so leaving the fan going will help keep air circulating to keep mold away.also if you are worried just put a peice of black tape over the light