Adding timeout and backup on DiscoveryClient's heartbeat and cacheRefresh

Making it a final will be good.