For ENG-5962, Better manage lifecycle of verboten thread checking.