Added timer to the discovery service to clean out tables when clients stop hearbeating.
Some cleanup.