it could be the float switch thats located at the back of the machine near the floor on the right hand side looking from the rear,it can stick down with fluff and stuff,so it wont trip the pump to empty water into the condenser,this is accompanied by a leak,check it out,be sure to unplug the dryer
gts, August 2010