if(mysrvc->myhgc->num_online_servers.load(std::memory_order_relaxed)<=mysrvc->myhgc->attributes.max_num_online_servers){// number of online servers in HG is within configured range
if(mysrvc->ConnectionsUsed->conns_length()<mysrvc->max_connections){// consider this server only if didn't reach max_connections