replace become_daemon by daemon.