As Eric stated, if the Red Hat is stuck open, it could be sucking air from the tank side water line. You could disconnect the discharge side of the valve and install a plug. If still not priming, then pump is probably bad. By closing the valve above the pump, it will have no effect closing the main line as it is basically a T fitting, controlling only the ice maker line.