Rework how job pointers are handled in document daemon