Rework the job queue and implement server watch.