Game Freezes when searching in multiplayer

Whenever I search for a multiplayer game on the pc edition the game freezes. When I go to restart the game, I have to kill it using task manager but steam still believes it to be running forcing me to restart my pc. I have found a work around that works about 25% of the time, by going to restart my computer forcing everything to turn off but before it starts to restart a window pops up saying Easy Anti cheat Security violation #000000001. After closing that I cancel the restart and sometimes the game will work.