I certainly wouldn't bet on 100% squeaky clean behavior from Flock; but it's probably also worth looking at his relationship with the local cops and their relationship either with the vendor or with other entities that have an interest in the flock data.
I don't think that this is particularly uncommon; but going by the City of Troy's budget; it looks like the cops are kind of a big deal. Over a quarter of the budget(~27million out of 90 million); and the chief, deputy chief, assistant chief, and police captain all make more than the mayor; you have to get down to the 27 sergeants to draw approximately equal to him. This in a 50k person town that apparently saw enough serious-enough-for-custody crime last year that they managed to keep 'prisoner meals' down to $787. A significant amount of money and the significant political clout of being the organization best placed to both feud with the mayor over whether or not his administration is doing a good job on crime and public safety and potentially do a bit of making it so in terms of how they handle, or slow-walk, the sort of highly visible but petty-enough-for-discretion public nuisance stuff. Municipal government isn't usually a 'coupe' situation the way nation states are; but there's a not entirely dissimilar 'bad idea for the nominal head of government to be on bad terms with the security forces unless there is huge public support for cleaning house' dynamic.
Doesn't mean that they are necessarily outright paying him off or leaning on him, plenty of people have an authentic fawning enthusiasm for authority figures; but not exactly a surprise that you'd see a mayor freak out about threats to a pet program that either he liked, the PD liked, or was part of some 'cooperation' or 'fusion center' thing that sounded important and had cool acronyms and gave everyone on the force a periodic break from taking calls about moving violations and uppity teenagers to go play with some regional partnership's 1033 program toys; thought outright kickbacks from the sleazoids at flock, or intermediary reseller, certainly aren't wildly implausible.