New heartbeat implementation, better process monitor