implement connection release for connection pools