need to properlly daemonize with lock file