Make daemonize work correctly by properly overriding the monkeypatched method