Added check for daemon still alive usin /proc/{pid}/status