gather statistics only if primary connection is in WORKING state