Use worker thread in connection doctor