Avoid to reference GC-ed process
Fix logger