Patch for madhadron/hdaemonize#3