fix release of nil connection on connect error

It appears I've introduced a bug in the last pull request. The `#acquire` method may raise a DatabaseConnectError when allocating new connection. In such case the `#release` must not be called or it will store `nil` in `@available` pool. Sorry for that.