add heartbeat to avoid getting killed