check components are alive using pid and also thread status
Merge pull request #4381 from ticoann/agent_alert

check components are alive using pid and also thread status