Use mwexec() with signal clearing. Use pid file for killining/tracking ntpd