quite simple, when the hot water tap is turned off the pin isn't moving back fully so it's staying in dhw mode with the tap off. Bang, clatter, overheat. The clues were in the first post. Get your plummer to see if the red light on the pcb stays on after the tap is switched off. If so it could...