using daemon flag instead of _daemonic