connection pool library based on multi-armed bandit algorithms