Last time I had that problem it was the body control module crapping out. When it did finally die the wipers only worked on full (safety default) and would stop whenever and wherever you turned them off of high. Is the car doing anything else such as intermittent failure of the central locking or the one touch operation on the windows/sunroof not operating correctly?