Adding timeout and backup on DiscoveryClient's heartbeat and cacheRefresh

Can you explain the need of this synchronized block?