check components are alive using pid and also thread status

Instead of using heartbeat actually checks component status
Steve, please review.