yeah he’s like a weeping angel, once you spot him you’re cooked
The only fortunate way to avoid this is to have a hiding potion or let officer teleport you to his office so he losts interest on searching for you a short period of time (only works if he is not near the office area)