An apparatus for the purpose described having in combination means for controlling the supply to the vessel to be filled, an electromagnet for controlling said means, a circuit including said electromagnet and a switch in said circuit arranged to be struck and closed by the vessel to be filled, substantially as set forth. 4.