CA-111637: Fix data races in HA when a slave returns in the pool.