A few things I can think of
1. So it runs cold, then hot, then cold and stays cold? I take it you have a re-circulating line? If so and the lines are close to each other and uninsulated it's entirely possible to have the hot line heat the cold while the water is sitting. Their isn't anything you...