Unit turns on and powers up for a second but then 'locks off' and then tries again. Pump seems to be working but pilot light will not light. No heat or hot water. A click can be heard just before it switches itself off, before trying again. What's wrong with it?