finish connect pool