add heartbeat functionality for load balancers