There's a pressure switch that cuts the power to the compressor if there isn't enough refrigerant in the system. Maybe it needs gassing up?