make scanner as a daemon