health: Communicate with dmesg to avoid zombie process

The dmesg process was in Z state and blocked the whole process.