add shutdown hooks in the client that make retrying to fetch nodes moot