Check for servers in health mode, for health mode in pure-backends. Some code have been refactored for better organization.