fixed connection pooling, server failover and retries
allow config of connection pool timeouts