Relentless stalker from Knaresborough jailed