Thames Water error may require restating accounts