debugging issues with daemon based process failing