Handle reconnects for MySQL read replicas with pooling