Currently the background queue process seems to die with samba-dcerpcd. However if you have a lot of printers the could get into a big problem. Loading a printer from cups and updating pcap can take ~1s. If you have 60 printers it will take 60seconds to load all the printers. So the process should not be stopped but run in the background all the time.
This bug was referenced in samba master: 9080cd30d517cb50954e440bb4475c2eeb678906
Created attachment 17402 [details] patch for 4.16
Created attachment 17403 [details] patch for 4.16
Re-assigning to Jule for inclusion in 4.16.next.
Pushed to autobuild-v4-16-test.
This bug was referenced in samba v4-16-test: cce25171f7e24ce39693677c9edcdc584f8d9db4
Closing out bug report. Thanks!
This bug was referenced in samba v4-16-stable (Release samba-4.16.3): cce25171f7e24ce39693677c9edcdc584f8d9db4