Not Giving Up
There was no point in giving up for Gareth. He was bound to uncover something if he kept following the man. As a result, he did exactly that.
His hope was that the man would slip up eventually after following him for two weeks straight.
Although Gareth thought the teacher was smart, it seemed to him that she was much smarter than he was.