Would-be thief gets a taste of small town justice