Change the freeze detector thread to be a periodic callback running on the thread pool