Rimington made hard work of this West Riding Challenge Cup tie, but progressed to the third round and an game at Morley Town next month.
Wakefield side Thornes were given the perfect start by the referee with a dubious penalty with barely a minute on the clock.
Rimington levelled shortly after from a short corner, as Fagan’s cross was deflected to Lloyd to finish at the back post.
On 10 minutes, Lloyd chipped to Robinson and the youngster volleyed in to make it 2-1.
Rimington were now rampant, but several chances came and went before, three minutes before the break, Fagan found Jackson and he curled in a beauty for 3-1.
In the second half, Rimington were again profligate, and made to pay.
On the hour, a cross was turned in to pull one back, and with two minutes remaining, Thornes grabbed the equaliser with a fine headed goal from a corner.
However, in extra time, McLean crossed for Lloyd to make it 4-3 up, and the tie was put beyond doubt in the 117th minute, as Jackson collected a long ball and Fred Bagot to score.
Thanks to NJD Sports Injury Centre for sponsoring the match.