Shutoff valves for water heaters or heated water storage tanks may be installed on the inlet side only. This discharge side may be provided with a check valve or a three-way valve installed to open the heater to the atmosphere when it is not in the operating position. The atmospheric opening of a three-way valve shall be indirectly connected to the drainage system.