United fielded a host of new faces and trialists at The Jakemans Stadium and led through Thewlis' 49th minute penalty.
Matt Green equalised for Town on 64 minutes but United's trialist right-back sailed home a beauty from 30 yards with four minutes remaining to win it for the Pilgrims.