Daemonize a worker object in python