redistribute ready state when max_in_flight < num_conns
fix ready count check
finish wiring up the ready redistribution
tweaks
tweaks
address comments