zmonitor now uses zthreads