Fix thundering herd on endpoint cache invalidation
patch by rbranson and jbellis for CASSANDRA-6345
fix build
fix build more