Timer will not time out on automatic cycles

Timer stops timing with 5-8 minutes left in dry cycle while in auto cycles. It seems to work fine in manual/timed dry cycle

Here is the service manual which will take you through the trouble shooting on the moisture sensor bars to diagnose your problem.

https://secured.whirlpool.com/Service/SrvTechAdm.nsf/2cd44500d572193285256a45004fd9d6/479b6231e5693a13852571650061e709/$FILE/8178559.pdf

Here is the sensor wiring harness if that proves to be the problem.

AP3083393