I'm not 100% sure, but I believe the Plugin itself fails gracefully if
it loses its connection to the Google Earth servers. Meaning, it just
doesn't download new image data when you zoom in to a location or
whatever. So you shouldn't have to worry about the plugin itself
losing connection. If you're crashing when you try to fetch new KML,
using the fetchKML function should prevent the crashes.
If, when you say "the page automatically updates" you mean the entire
page (such that the google earth plugin is reloaded), then you really
just want to change it to send out a new fetchKML call every few
minutes, rather than refreshing the entire page. (Assuming there
aren't other elements on the page you're trying to refresh as well).