add heartbeat monitor