That's an instance of a general phenomenon known as sunk costs, that when we've invested a lot of effort in something, we're reluctant to stop acting on its basis, even if right then we don't prefer to do it anymore. 