typo $extras
ob_start is running even on daemon process, add some PID checkings on daemon scripts